package com.api.user.service;
import com.api.user.model.GameProfile;
import com.api.core.service.Service;
import com.api.core.response.Result;

import java.util.List;

/**
 * Created by wanghuiwen on 2021/03/23.
 */
public interface GameProfileService extends Service<GameProfile> {
   Result list(String search, String order, Integer page, Integer size);
   Result listByUser(String search, String order, Integer page, Integer size,Long userId);

   Result add(GameProfile gameProfile);

   List<GameProfile> findByUserId(Long id);
}
